#include <iostream>

#include "range.h"

using namespace std;

int main() 
{
	Range range(1, 10);

	cout << range << endl;

	for (RangeIterator iter = range.begin(); iter != range.end(); ++iter)
		cout << iter << ": " << *iter << endl;

	range = Range(23, 44, 5);

	cout << range << endl;

	for (RangeIterator iter = range.begin(); iter != range.end(); ++iter)
		cout << iter << ": " << *iter << endl;

	return 0;
}
